<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 熊大熊二红色 */
        /* 并集选择器 */
        /* div,p{
            color: red;
        } */
        /* 熊大熊二绿色    112233为绿色 */

        /* 并集选择器 */
        div,
        p,
        .pig {
            color: green;
        }

        /* ul li {
         color: red;
        } */
    </style>
</head>

<body>
    <div>熊大</div>
    <p>熊二</p>
    <span>光头强</span>
    <ul class="pig">
        <li>11</li>
        <li>22</li>
        <li>33</li>
    </ul>
</body>

</html>